.class Lcom/xingbook/park/f/ab;
.super Lcom/xingbook/park/e/d;


# instance fields
.field a:I

.field b:Lcom/xingbook/b/j;

.field final synthetic c:Lcom/xingbook/park/f/s;


# direct methods
.method constructor <init>(Lcom/xingbook/park/f/s;Lcom/xingbook/park/e/c;)V
    .locals 1

    iput-object p1, p0, Lcom/xingbook/park/f/ab;->c:Lcom/xingbook/park/f/s;

    invoke-direct {p0, p2}, Lcom/xingbook/park/e/d;-><init>(Lcom/xingbook/park/e/c;)V

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/park/f/ab;->a:I

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    return-void
.end method


# virtual methods
.method public endElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    const-string v0, "info"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget v0, p0, Lcom/xingbook/park/f/ab;->a:I

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    iget-object v1, p0, Lcom/xingbook/park/f/ab;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/b/j;->c:Ljava/lang/String;

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string v0, "res"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->i:Lcom/xingbook/park/e/c;

    iget-object v1, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/e/c;->a(Ljava/lang/Object;)V

    goto :goto_0

    :cond_2
    const-string v0, "message"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->i:Lcom/xingbook/park/e/c;

    iget-object v1, p0, Lcom/xingbook/park/f/ab;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/e/c;->a(Ljava/lang/String;)V

    goto :goto_0
.end method

.method public startElement(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    .locals 5

    const/4 v2, 0x1

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->j:Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/xingbook/park/f/ab;->j:Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->length()I

    move-result v1

    invoke-virtual {v0, v4, v1}, Ljava/lang/StringBuilder;->delete(II)Ljava/lang/StringBuilder;

    const-string v0, "res"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->i:Lcom/xingbook/park/e/c;

    invoke-virtual {v0, p4}, Lcom/xingbook/park/e/c;->a(Lorg/xml/sax/Attributes;)V

    new-instance v0, Lcom/xingbook/b/j;

    invoke-direct {v0}, Lcom/xingbook/b/j;-><init>()V

    iput-object v0, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    :cond_0
    :goto_0
    return-void

    :cond_1
    const-string v0, "update"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    new-instance v0, Lcom/xingbook/c/r;

    invoke-direct {v0}, Lcom/xingbook/c/r;-><init>()V

    const-string v1, "versionId"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/c/r;->b(I)V

    const-string v1, "versionName"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/c/r;->a(Ljava/lang/String;)V

    const-string v1, "versionCode"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/c/r;->c(I)V

    const-string v1, "versionMini"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-wide/16 v2, 0x0

    invoke-static {v1, v2, v3}, Lcn/a/a/d/j;->a(Ljava/lang/String;J)J

    move-result-wide v1

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/c/r;->a(J)V

    iget-object v1, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    iput-object v0, v1, Lcom/xingbook/b/j;->a:Lcom/xingbook/c/r;

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    const-string v1, "needUpdate"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    iput v1, v0, Lcom/xingbook/b/j;->b:I

    goto :goto_0

    :cond_2
    const-string v0, "package"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget v0, p0, Lcom/xingbook/park/f/ab;->a:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_3

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    invoke-interface {p4, v4}, Lorg/xml/sax/Attributes;->getValue(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/xingbook/b/j;->d:Ljava/lang/String;

    goto :goto_0

    :cond_3
    const-string v0, "file"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget v0, p0, Lcom/xingbook/park/f/ab;->a:I

    if-ne v0, v2, :cond_4

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    const-string v1, "src"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "dst"

    invoke-interface {p4, v2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/b/j;->a(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_4
    const-string v0, "data"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/xingbook/park/f/ab;->a:I

    if-ne v0, v2, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/f/ab;->b:Lcom/xingbook/b/j;

    const-string v1, "name"

    invoke-interface {p4, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "value"

    invoke-interface {p4, v2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/b/j;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0
.end method
